package com.chengjj.kings.modular.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chengjj.kings.modular.system.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
  * 管理员表 Mapper 接口
 * </p>
 *
 * @author chengJJ
 * @since 2019-03-13
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 通过账号获取用户
     */
    User getByAccount(@Param("account") String account);
}